package com.jsyl.lwbk.framework.shiro.service;


import java.util.List;
import java.util.Map;

/**
 * @author xiaoshu
 * @date 2020-04-15 17:18
 * @desc 用户登陆返回对象
 **/

public class SsoUserLoginResponse {


    private Long userId;


    private String userName;


    private String nameCn;


    private String nameEn;


    private List<UserRoleResponse> roles;


    private String accessToken;


    private String freshenToken;


    private String openId;


    private Boolean needResetPwd;

    private Boolean boundWechat;



    private String phone;

    private List<OrganizationCenterResponse> centers;

    private Long mainRoleId;

    private String mainRole;

    private List<Map> vipCertList;

    public List<Map> getVipCertList() {
        return vipCertList;
    }

    public void setVipCertList(List<Map> vipCertList) {
        this.vipCertList = vipCertList;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNameCn() {
        return nameCn;
    }

    public void setNameCn(String nameCn) {
        this.nameCn = nameCn;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public List<UserRoleResponse> getRoles() {
        return roles;
    }

    public void setRoles(List<UserRoleResponse> roles) {
        this.roles = roles;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getFreshenToken() {
        return freshenToken;
    }

    public void setFreshenToken(String freshenToken) {
        this.freshenToken = freshenToken;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Boolean getNeedResetPwd() {
        return needResetPwd;
    }

    public void setNeedResetPwd(Boolean needResetPwd) {
        this.needResetPwd = needResetPwd;
    }

    public Boolean getBoundWechat() {
        return boundWechat;
    }

    public void setBoundWechat(Boolean boundWechat) {
        this.boundWechat = boundWechat;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public List<OrganizationCenterResponse> getCenters() {
        return centers;
    }

    public void setCenters(List<OrganizationCenterResponse> centers) {
        this.centers = centers;
    }

    public Long getMainRoleId() {
        return mainRoleId;
    }

    public void setMainRoleId(Long mainRoleId) {
        this.mainRoleId = mainRoleId;
    }

    public String getMainRole() {
        return mainRole;
    }

    public void setMainRole(String mainRole) {
        this.mainRole = mainRole;
    }
}
